package com.xhh.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 招生单位表
 * </p>
 * @author itheima
 */
@Data
@TableName("educator")
public class Educator implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户名
     */
    @TableField("username")
    private String username;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 身份码
     */
    @TableField("identity_id")
    private Long identityId;

    /**
     * 头像
     */
    @TableField("image")
    private String image;


    /**
     * 注册时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 注册时间
     */
    @TableField("update_time")
    private Date updateTime;

}